// CH341.h

#pragma once

#include "windows.h"
#include "CH341DLL.H"

using namespace System;

namespace FactoryAuto {

	namespace Device {

		public ref class CH341
		{
			public:
				ULONG mIndex;

			public:
				static ULONG GetVersion();

				CH341();
				int OpenDevice();
				void CloseDevice();

				int Set_D5_D0_High();
				int Set_D5_D0_Low();
		};
	}
}
